package com.xc.file.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * <p>上传文件参数</p>
 *
 * @author xc
 * @version v1.0.0
 */
@Data
public class UploadBean {

    @ApiModelProperty(value = "文件名称")
    private String name;

    @ApiModelProperty(value = "文件hash值，文件的唯一值，md5加密计算")
    private String hashCode;

    @ApiModelProperty(value = "文件续传开始的位置")
    private Long fileIndex;

    @ApiModelProperty(value = "文件大小")
    private Long size;

    @ApiModelProperty(value = "文件夹路径")
    private String folderPath;

    @ApiModelProperty(value = "是否开启断点续传")
    private Boolean resumed = true;

    @ApiModelProperty(value = "状态：0：有效，1：无效")
    private String status;
}
